package com.riki.riki_push_example;

import androidx.annotation.NonNull;

import com.riki.riki_push.RikiPushHwPlugin;
import com.riki.riki_push.RikiPushMeizuPlugin;
import com.riki.riki_push.RikiPushPlugin;
import com.riki.riki_push.RikiPushVivPlugin;
import com.riki.riki_push.RikiPushXmPlugin;
import com.riki.riki_push.RikiPushOppoPlugin;

import cn.jpush.android.api.JPushInterface;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engine.FlutterEngine;

public class MainActivity extends FlutterActivity {

    @Override
    public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) {
        super.configureFlutterEngine(flutterEngine);
        flutterEngine.getPlugins().add(new RikiPushPlugin());
        flutterEngine.getPlugins().add(new RikiPushHwPlugin());
        flutterEngine.getPlugins().add(new RikiPushXmPlugin());
        flutterEngine.getPlugins().add(new RikiPushOppoPlugin());
        flutterEngine.getPlugins().add(new RikiPushMeizuPlugin());
        flutterEngine.getPlugins().add(new RikiPushVivPlugin());
    }
}
